<template>
  <div id="app">
    <div class="header">
      <a href="#/find" class="top">发现音乐</a>
      <a href="#/my" class="top">我的音乐</a>
      <a href="#/friend" class="top">朋友</a>
    </div>
    <router-view />
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },

  created () {},

  methods: {}
}
</script>

<style scoped lang="less">
#app {
  padding: 60px 0;

  .header {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    text-align: center;
    background-color: #333;
    color: #ccc;

    .top {
      flex: 1;
      text-decoration: none;
      padding: 20px 0;
      line-height: 20px;
      background-color: #333;
      color: #ccc;
      border: 1px solid #000;
    }
  }
}
</style>
